#include 'protheus.ch'

/*/{Protheus.doc} MT103FIM
(long_description)
@author Guilherme
@since 26/06/2015
@version 1.0
@example
(examples)
@see (links_or_references)
/*/
User Function MT103FIM 

	Local nOpcao := PARAMIXB[1]
	
	DbSelectArea("QEK")
	QEK->(DbSetOrder(10))
	QEK->(DbGoTop())
	If QEK->(DbSeek(xFilial("QEK")+SF1->F1_FORNECE+SF1->F1_LOJA+SF1->F1_DOC+SF1->F1_SERIE)) .AND. nOpcao == 3 
	
		U_MED21W01(SF1->F1_DOC,SF1->F1_SERIE,SF1->F1_FORNECE,SF1->F1_LOJA)

	Endif

return